import { defineStore } from "pinia";

export const useBook = defineStore("book", {
  state() {
    return {
      price: 58,
      aaa:0
    };
  },
  actions: {
    add() {
      setTimeout(() => {
        this.price += 1;
      }, 1000);
    },
  },
});
